package cn.kgc.springboot.vue.service;

import cn.kgc.springboot.vue.commons.QueryCondition;
import cn.kgc.springboot.vue.entity.Role;
import cn.kgc.springboot.vue.response.ResponseResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;

/**
* @author mengshun
* @description 针对表【sys_role】的数据库操作Service
* @createDate 2024-12-21 09:50:50
*/
public interface RoleService extends IService<Role> {

    ResponseResult rolePage(QueryCondition<Role> queryCondition);

    ResponseResult deleteRole(Integer id);

    ResponseResult rolePermissions(Integer id);

    ResponseResult addRolePermissions(HashMap<String, Object> params);
}
